#!/bin/bash 
WEKA_CLASSPATH="../../../target/ensemble-methods-0.0.1-SNAPSHOT.jar:/usr/share/java/log4j-1.2.jar:/home/vitalij/.m2/repository/nz/ac/waikato/cms/weka/weka-dev/3.7.8/weka-dev-3.7.8.jar:/home/vitalij/.m2/repository/net/sf/squirrel-sql/thirdparty-non-maven/java-cup/0.11a/java-cup-0.11a.jar:/home/vitalij/.m2/repository/org/pentaho/pentaho-commons/pentaho-package-manager/1.0.5/pentaho-package-manager-1.0.5.jar:/home/vitalij/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar"
CLASSNAME="it.uniroma1.di.machinelearning.PrepareData"
FOLDER="/home/vitalij/Documenti/università/apprendimento_automatico/dati/"
HEADER="intestazione.arff"
HEADLESS="completo_senza_intestazione.arff"

while true;
do
	echo -Xmx2524m -XX:-UseGCOverheadLimit -cp $WEKA_CLASSPATH $CLASSNAME $FOLDER $HEADER $HEADLESS
	java -Xmx2524m -XX:-UseGCOverheadLimit -cp $WEKA_CLASSPATH $CLASSNAME $FOLDER $HEADER $HEADLESS
done
